<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"   
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      >    
<h:head>
    <f:facet name="first">
	    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
	    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
	    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport' />
	    <title>Cubi E-Shop - Admin</title>
    </f:facet>
    <f:facet name="middle">
        <h:outputStylesheet library="css" name="bootstrap.min.css" />
        <h:outputStylesheet library="css" name="main.css" />
        <h:outputStylesheet library="css" name="brand-bootstrap.css" />
        <link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet"/>      
	    <link href="http://code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css" rel="stylesheet"/>	
		<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
		  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
		  <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
		<![endif]-->
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
        <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
        <h:outputScript library="js" name="modernizr-2.5.3.js" />
    </f:facet>
</h:head>
<h:body>
    
    <header>
		<ui:insert name="header">
		    <ui:include src="layout/header.xhtml" />
		</ui:insert>    
    </header>
    
    <section class="container">
        <div class="row">
            <div class="col-sm-3">
                <ui:insert name="aside" />
            </div>
            <div class="col-sm-9">
                <ui:insert name="body" />
            </div>           
		</div>
	</section>
		
	<footer class="text-center">
		<ui:insert name="footer">
		    <ui:include src="layout/footer.xhtml" />
		</ui:insert>
	</footer>  
    <script src="http://code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
</h:body>      
</html>